package com.order.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 今日联系的实体类
 * 
 * @author zhy
 *
 */
@Entity
@Table(name = "contact")
public class Contact implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "contactId")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer contactId;
	
	@Column(name = "countContact")
	private Integer countContact;

	@Column(name = "date")
	private String date;

	public Integer getContactId() {
		return contactId;
	}

	public void setContactId(Integer contactId) {
		this.contactId = contactId;
	}

	public Integer getCountContact() {
		return countContact;
	}

	public void setCountContact(Integer countContact) {
		this.countContact = countContact;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	@Override
	public String toString() {
		return "Contact [contactId=" + contactId + ", countContact=" + countContact + ", date=" + date + "]";
	}

}
